ShortPixel\Replacer\Replacer B

Total Complexity 92
Dependencies 8
Dependents 1
Total lines 561
Lines of code 382
Logical lines of code 219
Comment lines 78
Methods 19
Properties 6

Methods 19

Method Rating Maintainability Complexity Lines of code
replace()
B
32 20 107
replaceContent()
B
37 21 76
handleMetaData()
A
42 8 53
findNearestSize()
A
49 9 30
doReplaceQuery()
S
49 5 30
change_key()
S
62 6 11
getFilesFromMetadata()
S
59 5 16
isJSON()
S
69 5 6
getRelativeURLS()
S
54 3 20
setReplaceSettings()
S
79 1 3
__construct()
S
82 1 3
loadFormats()
S
71 1 6
setTargetMeta()
S
81 1 3
setSourceMeta()
S
81 1 3
getTarget()
S
82 1 3
setTarget()
S
81 1 3
getSource()
S
82 1 3
setSource()
S
81 1 3
checkIncomplete()
S
79 1 3